package exam11;

/**
 * @author HB
 * @version 1.0
 * @description
 * @date 2021/7/2
 */
public class Client{
    public static void main(String a[]){
        AbstractCommand openCommand,closeCommand,changeCommand;

        openCommand = new TVOpenCommand();
        closeCommand = new TVCloseCommand();
        changeCommand = new TVChangeCommand();

        Controller control = new Controller(openCommand,closeCommand,changeCommand);

        control.open();
        control.change();
        control.close();
    }
}

